<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>度娘组群文件</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.0.2/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.0.2/js/bootstrap.min.js"></script>
    <script src="./js/common.js"></script>
</head>
<body>
<div class="row">
    <div class="col-lg-3">
        <div>
            <label for="read-node" class="form-label">读取节点</label>
            <textarea class="form-control" id="read-node" rows="12"></textarea>
        </div>
        <div>
            <div class="btn-group d-grid" role="group">
                <button type="button" class="btn btn-primary" onclick="readdata()">读取数据</button>
            </div>
        </div>
    </div>
    <div class="col-lg-3">
        <div>
            <label for="add-node" class="form-label">父节点<span id="showpid">-顶级分类</span></label>
            <input class="form-control" type="text" id="pid" value="0">
            <textarea class="form-control" id="add-node" rows="10"></textarea>
        </div>
        <div>
            <div class="btn-group d-grid" role="group">
                <button type="button" class="btn btn-primary" onclick="addNode()">添加节点</button>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="accordion" id="level-0">
    </div>
</div>

</body>
</html>